This moves files between folders on the same volume
(it can't be used to copy files between volumes).
Thanks to:
Dewi Williams
2227 Juniper Court
Boulder CO 80302
(303) 443 9038
Delphi: DEWI
-- part contents for background part 7
----- text -----
Syntax:
MoveFile (<"OldName">,
<"NewFolder">)
This will return result will contain either0 (meaning a successful operation), 1 (meaning a parameter error), or a negative number (representing an operating system error).
"OldName" is a full pathname of the file that you want to rename.
"Newfolder" specifies the destination folder.
You can use the OsErr* XCMD to interpret operating system errors.